package com.cdtu.room.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 日历对象 calendar
 * 
 * @author ruoyi
 * @date 2024-03-29
 */
public class Calendar extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 日历ID */
    private Integer calendarId;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 会议室ID */
    @Excel(name = "会议室ID")
    private Long roomId;

    /** 预约信息ID */
    @Excel(name = "预约信息ID")
    private Long reservationId;

    public Integer getFeedbackStatus() {
        return feedbackStatus;
    }

    public void setFeedbackStatus(Integer feedbackStatus) {
        this.feedbackStatus = feedbackStatus;
    }

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 评价状态 */
    private Integer feedbackStatus;

    public void setCalendarId(Integer calendarId)
    {
        this.calendarId = calendarId;
    }

    public Integer getCalendarId()
    {
        return calendarId;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }
    public void setRoomId(Long roomId) 
    {
        this.roomId = roomId;
    }

    public Long getRoomId() 
    {
        return roomId;
    }
    public void setReservationId(Long reservationId) 
    {
        this.reservationId = reservationId;
    }

    public Long getReservationId() 
    {
        return reservationId;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("calendarId", getCalendarId())
            .append("date", getDate())
            .append("roomId", getRoomId())
            .append("reservationId", getReservationId())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
                .append("feedbackStatus",getFeedbackStatus())
                .toString();
    }
}
